/* ================================
   FUENTES Y COLORES GLOBALES
================================= */
:root {
  --primary-color: #007BFF;
  --secondary-color: #6C757D;
  --success-color: #28A745;
  --danger-color: #DC3545;
  --warning-color: #FFC107;
  --info-color: #17A2B8;
  --light-color: #F8F9FA;
  --dark-color: #343A40;
}

body {
  background-color: #f9f9f9;
  font-family: "Quicksand", sans-serif;
  color: #3c3c3c;
  margin: 0;
  padding: 0;
}

.container {
  margin-top: 80px; /* Para dejar espacio debajo del menú fijo */
}

/* ================================
   TIPOGRAFÍA GENERAL
================================= */
h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
  color: #222;
  margin: 0 0 1rem;
}

p {
  margin: 0 0 1rem;
}

/* ================================
   LINKS
================================= */
a {
  text-decoration: none;
}

a:hover {
  color: #ffffff;
}
/* ================================
   NAV BAR 1: Integrantes del equipo
================================= */
#menu1 {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #2d0080;
  flex-wrap: wrap;
}

#menu1 ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  background-color:#2d0080;
  display: flex;
}

#menu1 ul li {
  float: left;
}

#menu1 li a {
  font-family: "Quicksand", sans-serif;
  font-weight: 400;
  font-size: 14px;
  display: block;
  color: #ffffff;
  text-align: center;
  padding: 14px 60px 16px;
  text-decoration: none;
}

#menu1 li a:hover {
  background-color: #9747FF;
  color: #ffffff;
}


/* ================================
   NAV BAR 2: Plan, Mapa, App, Grupo, Cátedra
================================= */
#menu2 {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #cbb5fc;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

#menu2 ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  background-color: #cbb5fc;
  display: flex;
}

#menu2 ul li {
  float: left;
}

#menu2 li a {
  display: block;
  color: #2a2a2a;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

#menu2 li a:hover {
  background-color: #9747FF;
  color: #ffffff;
}

#menu2 .active {
  background-color: #9747FF;
  color: #ffffff;
}

/* ================================
   Botón hamburguesa
================================= */
.menu-toggle {
  display: none;
  background-color: transparent;
  border: none;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
  padding: 10px;
}

/* ================================
   Responsive
================================= */
@media (max-width: 768px) {
  #menu1, #menu2 {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-toggle {
    display: block;
  }

  #menu1 ul,
  #menu2 ul {
    display: none;
    flex-direction: column;
    width: 100%;
  }

  #menu1 ul.show,
  #menu2 ul.show {
    display: flex;
  }

  #menu1 ul li,
  #menu2 ul li {
    width: 100%;
    text-align: left;
    padding: 12px;
  }

  #menu1 li a,
  #menu2 li a {
    padding: 12px 16px;
  }
}


/* BOTÓN HAMBURGUESA */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: #222;
  cursor: pointer;
  position: absolute;
  top: 12px;
  right: 20px;
  z-index: 1001;
}

/* Responsive nav */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  #menu2 .nav-list {
    position: absolute;
    top: 50px;
    right: 20px;
    flex-direction: column;
    width: 220px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    padding: 20px 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.3s ease;
  }

  #menu2 .nav-list.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  #menu2 .nav-list li {
    width: 100%;
    text-align: center;
    margin: 10px 0;
  }

  #menu2 .nav-list li a {
    display: block;
    width: 100%;
    padding: 12px 0;
    border-top: none;
  }
}

/* ================================
   HOME SECTION
================================= */
.home {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #f5f5f5;
  padding: 60px 20px;
  text-align: center;
  margin-top: 60px;
}

.home-img img {
  width: 400px;
  border-radius: 8px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.home-img img:hover {
  transform: scale(1.05);
}

.home-text h1 {
  font-family: Quicksand, sans-serif;
  font-weight: 800;
  font-size: 72px;
  margin: 10px 0;
  color: #222;
}

.home-text h3 {
  font-weight: 300;
  font-size: 16px;
  color: #666;
  margin: 0;
}

@media (max-width: 600px) {
  .home-img img {
    width: 180px;
  }

  .home-text h1 {
    font-size: 36px;
  }

  .home-text h3 {
    font-size: 14px;
  }
}

/* ================================
   INTEGRANTES (MEJORADO)
================================= */
#integrantes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: auto;
}

.persona {
  background-color: #fff;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.persona:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.persona p {
  font-size: small;
  padding-bottom: 1rem;
}

.avatar {
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 2px solid #9747FF;
  padding: 0.3rem;
}

.button {
  background-color: #cbb5fc;
  color: #000;
  font-weight: bold;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 0.7rem 1.5rem;
  border-radius: 2rem;
  display: inline-block;
  margin-top: 0.5rem;
  transition: all 0.3s ease;
}

.button:hover {
  background-color: #9747FF;
  color: #fff;
}

/* ================================
   LINEA INFORMATIVA
================================= */
.info-linea {
  font-family: "Quicksand", sans-serif;
  font-size: 14px;
  text-align: center;
  color: #555;
  margin: 40px auto 20px;
  width: 90%;
  line-height: 1.6;
}

/* ================================
   SECCIÓN PDF - BRIEFING
================================= */
.briefing-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #f5f5f5;
  margin: 40px auto;
}

.briefing-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.briefing-section p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1.5rem;
}

.briefing-section .button {
  background-color: #cbb5fc;
  color: #000;
  font-weight: bold;
  font-size: 0.95rem;
  padding: 0.8rem 1.8rem;
  border-radius: 2rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.briefing-section .button:hover {
  background-color: #9747FF;
  color: #fff;
}
/* ================================
   USER PERSONA SECTION
================================= */
.user-persona-section {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.user-persona-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.user-persona-section p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 2rem;
}

.user-persona-img img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* ================================
   MAP SECTION
================================= */

#mapa-embed {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 50px 0;
}


/* ================================
   APP SECTION
================================= */

#figma-embed {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 50px 0;
}

/* ================================
   FOOTER
================================= */
footer {
  background-color: #202020;
  padding: 20px 0;
  text-align: center;
  margin-top: 60px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-logo {
  flex: 1;
}

.footer-logo img {
  max-width: 150px;
  height: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  flex: 2;
  width: 60%;
}

.footer-section {
  flex: 1;
}

.footer-section ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  text-decoration: none;
  color: #fff;
}

.footer-section ul li a:hover {
  color: var(--danger-color);
}

.footer-legal h5 {
  color: #ffffff;
  font-size: 8px;
}
